<template>
  <div id="app">
    <button @click="test">click me</button>
  </div>
</template>

<script>
import { Toast } from '@/components/Toast'
export default {
  name: 'App',
  methods: {
    test() {
      Toast({
        duration: 5000,
        text: '这是提示',
        type: 'warning'
      })
    }
  }
}
</script>

<style>
</style>
